Optimal. Leaf size=142 \[ \frac{c^2 (2 b B-A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{8 b^{5/2}}-\frac{c \sqrt{b x+c x^2} (2 b B-A c)}{8 b^2 x^{3/2}}-\frac{\sqrt{b x+c x^2} (2 b B-A c)}{4 b x^{5/2}}-\frac{A \left (b x+c x^2\right )^{3/2}}{3 b x^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.119539, antiderivative size = 142, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.208, Rules used = {792, 662, 672, 660, 207} \[ \frac{c^2 (2 b B-A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{8 b^{5/2}}-\frac{c \sqrt{b x+c x^2} (2 b B-A c)}{8 b^2 x^{3/2}}-\frac{\sqrt{b x+c x^2} (2 b B-A c)}{4 b x^{5/2}}-\frac{A \left (b x+c x^2\right )^{3/2}}{3 b x^{9/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 792
Rule 662
Rule 672
Rule 660
Rule 207
Rubi steps
\begin{align*} \int \frac{(A+B x) \sqrt{b x+c x^2}}{x^{9/2}} \, dx &=-\frac{A \left (b x+c x^2\right )^{3/2}}{3 b x^{9/2}}+\frac{\left (-\frac{9}{2} (-b B+A c)+\frac{3}{2} (-b B+2 A c)\right ) \int \frac{\sqrt{b x+c x^2}}{x^{7/2}} \, dx}{3 b}\\ &=-\frac{(2 b B-A c) \sqrt{b x+c x^2}}{4 b x^{5/2}}-\frac{A \left (b x+c x^2\right )^{3/2}}{3 b x^{9/2}}+\frac{(c (2 b B-A c)) \int \frac{1}{x^{3/2} \sqrt{b x+c x^2}} \, dx}{8 b}\\ &=-\frac{(2 b B-A c) \sqrt{b x+c x^2}}{4 b x^{5/2}}-\frac{c (2 b B-A c) \sqrt{b x+c x^2}}{8 b^2 x^{3/2}}-\frac{A \left (b x+c x^2\right )^{3/2}}{3 b x^{9/2}}-\frac{\left (c^2 (2 b B-A c)\right ) \int \frac{1}{\sqrt{x} \sqrt{b x+c x^2}} \, dx}{16 b^2}\\ &=-\frac{(2 b B-A c) \sqrt{b x+c x^2}}{4 b x^{5/2}}-\frac{c (2 b B-A c) \sqrt{b x+c x^2}}{8 b^2 x^{3/2}}-\frac{A \left (b x+c x^2\right )^{3/2}}{3 b x^{9/2}}-\frac{\left (c^2 (2 b B-A c)\right ) \operatorname{Subst}\left (\int \frac{1}{-b+x^2} \, dx,x,\frac{\sqrt{b x+c x^2}}{\sqrt{x}}\right )}{8 b^2}\\ &=-\frac{(2 b B-A c) \sqrt{b x+c x^2}}{4 b x^{5/2}}-\frac{c (2 b B-A c) \sqrt{b x+c x^2}}{8 b^2 x^{3/2}}-\frac{A \left (b x+c x^2\right )^{3/2}}{3 b x^{9/2}}+\frac{c^2 (2 b B-A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{8 b^{5/2}}\\ \end{align*}
Mathematica [C] time = 0.0269348, size = 61, normalized size = 0.43 \[ -\frac{(x (b+c x))^{3/2} \left (A b^3+c^2 x^3 (2 b B-A c) \, _2F_1\left (\frac{3}{2},3;\frac{5}{2};\frac{c x}{b}+1\right )\right )}{3 b^4 x^{9/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 147, normalized size = 1. \begin{align*} -{\frac{1}{24}\sqrt{x \left ( cx+b \right ) } \left ( 3\,A{\it Artanh} \left ({\frac{\sqrt{cx+b}}{\sqrt{b}}} \right ){x}^{3}{c}^{3}-6\,B{\it Artanh} \left ({\frac{\sqrt{cx+b}}{\sqrt{b}}} \right ){x}^{3}b{c}^{2}-3\,A{x}^{2}{c}^{2}\sqrt{b}\sqrt{cx+b}+6\,B{x}^{2}{b}^{3/2}c\sqrt{cx+b}+2\,Ax{b}^{3/2}c\sqrt{cx+b}+12\,Bx{b}^{5/2}\sqrt{cx+b}+8\,A{b}^{5/2}\sqrt{cx+b} \right ){b}^{-{\frac{5}{2}}}{x}^{-{\frac{7}{2}}}{\frac{1}{\sqrt{cx+b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{c x^{2} + b x}{\left (B x + A\right )}}{x^{\frac{9}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.7199, size = 551, normalized size = 3.88 \begin{align*} \left [-\frac{3 \,{\left (2 \, B b c^{2} - A c^{3}\right )} \sqrt{b} x^{4} \log \left (-\frac{c x^{2} + 2 \, b x - 2 \, \sqrt{c x^{2} + b x} \sqrt{b} \sqrt{x}}{x^{2}}\right ) + 2 \,{\left (8 \, A b^{3} + 3 \,{\left (2 \, B b^{2} c - A b c^{2}\right )} x^{2} + 2 \,{\left (6 \, B b^{3} + A b^{2} c\right )} x\right )} \sqrt{c x^{2} + b x} \sqrt{x}}{48 \, b^{3} x^{4}}, -\frac{3 \,{\left (2 \, B b c^{2} - A c^{3}\right )} \sqrt{-b} x^{4} \arctan \left (\frac{\sqrt{-b} \sqrt{x}}{\sqrt{c x^{2} + b x}}\right ) +{\left (8 \, A b^{3} + 3 \,{\left (2 \, B b^{2} c - A b c^{2}\right )} x^{2} + 2 \,{\left (6 \, B b^{3} + A b^{2} c\right )} x\right )} \sqrt{c x^{2} + b x} \sqrt{x}}{24 \, b^{3} x^{4}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20149, size = 173, normalized size = 1.22 \begin{align*} -\frac{\frac{3 \,{\left (2 \, B b c^{3} - A c^{4}\right )} \arctan \left (\frac{\sqrt{c x + b}}{\sqrt{-b}}\right )}{\sqrt{-b} b^{2}} + \frac{6 \,{\left (c x + b\right )}^{\frac{5}{2}} B b c^{3} - 6 \, \sqrt{c x + b} B b^{3} c^{3} - 3 \,{\left (c x + b\right )}^{\frac{5}{2}} A c^{4} + 8 \,{\left (c x + b\right )}^{\frac{3}{2}} A b c^{4} + 3 \, \sqrt{c x + b} A b^{2} c^{4}}{b^{2} c^{3} x^{3}}}{24 \, c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]